package com.vue.admin.service.module.sys.mapper;

import com.vue.admin.service.common.mybatis.mapper.BaseDefMapper;
import com.vue.admin.service.module.sys.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @program: vue-admin-service
 * @description: user mapper
 * @author: zhangyangyang
 * @create: 2020-04-03 13:35
 **/
@Mapper
public interface UserMapper extends BaseDefMapper<UserEntity,Integer> {
    //自定义接口

    /**
     * 根据账号获得用户信息
     * @param account
     * @return
     */
    UserEntity findUserByAccount(@Param("account") String account);
}
